Converting information words into different length code words depending on a property of a code signal

ABSTRACT

The invention relates to a method of converting a stream of databits of a binary information signal into a stream of databits of a constrained binary channel signal. This stream of databits of the binary information signal is divided into n-bit information words. These information words are converted into m 1 -bit channel words, in accordance with a channel code C 1 , or m 2 -bit channel words, in accordance with a channel code C 2 , where m 1 , m 2  and n are integers for which it holds that m 2 &gt;m 1 ≧n. The m 2 -bit channel word is chosen from of at least two m 2 -bit channel words, at least two of which have opposite parities, the concatenated m 1 -bit channel words and the m 2 -bit channel words complying with a runlength constraint of the binary channel signal. The method comprises the repetitive and/or alternate steps of:
         selecting the m 1 -bit channel word from a set out of a plurality of sets of m 1 -bit channel words, each set comprising only m 1 -bit channel words having a beginning part out of a subset of beginning parts of the m 1 -bit channel words, each set being associated with a coding state of channel code C 1 , the coding state being established in dependence upon an end part of the preceding channel word, or:   selecting the m 2 -bit channel word from a set out of a plurality of sets of m 2 -bit channel words, which selection depends on the end part of the preceding channel word, each set comprising only m 2 -bit channel words having a beginning part out of a subset of beginning parts of the m 2 -bit channel words belonging to said set, each set being associated with a coding state of channel code C 2 , the coding state being established in dependence upon an end part of the preceding channel word.
 
The end parts of the m 1 -bit channel words in a coding state of channel code C 1  and the beginning parts of the m 2 -bit channel words in a set of channel code C 2  are arranged to comply with said runlength constraint.
       

     The invention further relates to a device for encoding, a signal comprising a stream of databits of a constrained binary channel signal, a record carrier and a device for decoding.

This application is a continuation of prior U.S. patent application Ser. No. 10/233,458 filed on Sep. 3, 2002, now U.S. Pat. No. 6,639,525.

The invention relates to a method of converting a stream of databits of a binary information signal into a stream of databits of a constrained binary channel signal, wherein the stream of databits of the binary information signal is divided into n-bit information words, said information words being converted into m₁-bit channel words in accordance with a channel code C₁, or m₂-bit channel words, in accordance with a channel code C₂, where m₁, m₂ and n are integers for which it holds that m₂>m₁≧n, wherein the m₂-bit channel word is chosen from at least two m₂-bit channel words, at least two of which have opposite parities, the concatenated m₁-bit channel words and the m₂-bit channel words complying with a runlength constraint of the binary channel signal.

The invention also relates to a device for encoding a stream of databits of a binary information signal into a stream of databits of a constrained binary channel signal. The invention also relates to a signal comprising a stream of databits of a constrained binary channel signal. The invention further relates to a record carrier and to a device for decoding the constrained binary channel signal.

The invention is in the field of channel coding, in particular in runlength limited channel coding. The length of time, expressed in channel bits, between consecutive signal transitions is usually called the runlength. Different constraints can be imposed on a channel code, e.g. resulting in a runlength limited channel code. In such a code, a sequence of channel words is characterized by two parameters, a d-constraint and a k-constraint. In (d,k) domain a logical “one” indicates a transition in the signal waveform. A (d,k) sequence satisfies the following two conditions: due to the d-constraint, two logic “ones” are separated by a run of at least d consecutive “zeroes”; due to the k-constraint two logic “ones” are separated by a run of at most k consecutive “zeroes”. The (d,k) sequence is converted from the (d,k) domain into a runlength-limited (RLL) sequence of the type (d,k) in the RLL domain upon precoding in a 1T precoder. This RLL sequence comprises elements with runlengths (either an array of consecutive zeroes or an array of consecutive ones) of d+1 at minimum and k+1 at maximum between subsequent signal reversals in the information signal. The values of (d+1) and (k+1) indicate the minimum and maximum runlengths of the element allowed in the sequence. It is noted that the term element can be used to indicate both an element of a (d,k) sequence or an element of an RLL) sequence. An element is considered to be extending over a runlength in the RLL domain or (d,k) domain.

In runlength limited channel coding, each information word is converted into a channel word according to predefined rules of conversion, these channel words forming a modulated signal.

Research Disclosure, January 1992, page 32, 33340, discloses a coding method according to which n-bit information words are alternately converted into m₁-bit channel words and m₂-bit channel words, where n, m₁ and m₂ are integers and n≦m₁<m₂. For each n-bit information word, there are two m₂-bit channel words available having mutually different disparities. A channel word is selected so that the current running digital sum in the channel signal shows a behaviour in accordance with a desired pattern as a function of time, for example a DC-free coding in the channel signal.

In other words, there are two channel codes involved in the Research Disclosure, one with an n-to-m₁ mapping of information words into channel words, which can be referred to as the main code C₁, and the other with an n-to-m₂ mapping, with two m₂-bit channel words, which can be referred to as the dual code C₂.

The efficiency of a channel code can be expressed by using the (information) rate of the channel code. This rate R of a channel code is defined as the quotient n/m, in which the code translated n binary user (or information) symbols into m binary channel symbols. As explained above, in runlength limited channel coding, the channel words must comply with certain constraints, for example a d-constraint and a k-constraint. Due to these restrictions, the number of bit combinations which may represent the information words is lowered and therefore the rate will decrease.

It is an object of the invention to realize an efficient method of encoding a stream of information words into a constrained stream of channel words.

The method in accordance with the invention is characterized in that the method comprises the repetitive and/or alternate steps of:

-   -   selecting the m₁-bit channel word from a set out of a plurality         of sets of m₁-bit channel words, each set comprising only m₁-bit         channel words having a beginning part out of a subset of         beginning parts of the m₁-bit channel words, each set being         associated with a coding state of channel code C₁, the coding         state being established in dependence upon an end part of the         preceding channel word, or:     -   selecting the m₂-bit channel word from a set out of a plurality         of sets of m₂-bit channel words, each set comprising only m₂-bit         channel words having a beginning part out of a subset of         beginning parts of the m₂-bit channel words belonging to said         set, each set being associated with a coding state of channel         code C₂, the coding state being established in dependence upon         an end part of the preceding channel word,         the end parts of the m₁-bit channel words in a coding state of         channel code C₁ and the beginning parts of the m₂-bit channel         words in a set of channel code C₂ being arranged to comply with         said runlength constraint.

By repetitively or alternately performing said steps and by arranging the end parts of the m₁-bit channel words in a coding state of channel code C₁ and the beginning parts of the m₂-bit channel words in a coding state of channel code C₂, the beginning parts of the m₂-bit channel words can be applied to the coding states of channel code C₁, thereby realizing the constrained binary channel signal; and vice versa when arranging the end parts of the m₂-bit channel words and the beginning parts of the m₁-bit channel words.

The invention is based on the recognition that the coding states of two different channel codes can be combined by arranging the beginning parts and the end parts of the channel words of the channel codes, so that end parts in the channel code C1 match with beginning parts of the sets of m₁-bit channel words, but also with the beginning parts of the sets of m2-bit channel words. A multiple-state description of encoder and decoder yields channel codes with high efficiency or information rate.

Another method according to the invention is characterized in that the number of coding states of channel code C₁ is equal to the number of coding states of channel code C₂.

In the case where for the dual code C₂, two m₂-bit channel words with opposite parity can be used for each n-bit information word, it is possible to use these channel words for influencing predetermined properties of the binary channel signal. In order to be able to comply with the constraints of the constrained stream of channel words, it is advantageous that the end parts of the m₁-bit channel words in a coding state of channel code C₁ and the beginning parts of the m₂-bit channel words in a coding state of channel code C₂ are arranged that the number of coding states of channel code C₁ is equal to the number of coding states of channel code C₂. In this way, the coding tables can be limited. Parts of the coding states of channel code C₁ can for example be similar or equal to parts of the coding states of channel code C₂. This results in an easier implementation of coding and decoding in hardware and/or software.

The channel codes according to the invention may be uniquely described in terms of a so-called finite-state-machine (FSM). Transitions between the states of the FSM correspond to the emission of channel words in accordance with n-bit information words that enter the encoder. This implies that—in order to have a valid code—from each state of the FSM, there must be leaving at least 2^(n) transitions towards all states of the FSM. With the FSM being in a given state, a given n-bit information word does not only determine the m-bit channel words, but also the next-state from which the next n-bit information word entering the encoder, is to be encoded.

Another method according to the invention is characterized in that the end part of any m₁-bit channel word has a multiplicity y₁, the multiplicity y₁ being the number of different states of the channel code C₁ said end part may establish, and that the end part of any m₂-bit channel word has a multiplicity y₂, the multiplicity y₂ being the number of states of the channel code C₂ said end may establish and in that y₁=y₂ if the end part of the m₁-bit channel word is equal to the end part of the m₂-bit channel word.

Each end part of the m₁-bit channel word has a multiplicity y₁, the multiplicity y₁ being the number of states of the channel code C₁ said end part is permitted in, and each end part of the m₂-bit channel word has a multiplicity y₂, the multiplicity y₂ being the number of states of the channel code C₂ said end part is permitted in. It is not necessary that the multiplicity of an end part of a word is used for 100%. It is advantageous that y₁=y₂, if the end part of the m₁-bit channel word is equal to the end part of the m₂-bit channel word. In this way the coding states of channel code C₁ and the coding states of channel code C₂ can be alternated in order that the constrained binary channel signal, comprising the concatenated m₁-bit channel words and the m₂-bit channel words, obeys a constraint of the binary channel signal. Using an equal multiplicity results in an easier implementation of coding and decoding in hardware and/or software.

Another method according to the invention is characterized in that said at least two m₂-bit channel words establish the same state.

We have so far defined the dual code C₂ as having the following properties: it is a code with n-to-m₂ mapping, where each n-bit information word can be represented by at least two channel words, among which at least two have opposite parities. The latter property is intended for influencing some envisaged properties of the encoded channel bitstream, e.g. control of the DC-content of the code.

However, the guaranteed parity selection property of the dual code C₂ is not satisfactory to guarantee, for instance a DC-control of a predetermined performance level. This is due to the fact that, in the FSM, both channel words of the dual code C₂ may lead to different next-states: this would imply that the subsequent encoding paths for the two distinct choices of the channel words of C₂ may be completely different, and that the overall parity of the bitstream between the two channel words encoded with the dual code, can be different, so that the DC-control which is driven by the decisions of the words of the dual code C₂, gets frustrated, leading to a potentially poor performance with respect to the desired property of the channel bitstream.

It is therefore advantageous to design the states of the FSMs of the channel codes C₁ and C₂ in order that, upon converting an n-bit information word into the two m₂-bit channel words, the two m₂-bit channel words not only leave from the same state in the FSM but also end in the same next-state in the FSM. In other words, both channel words of C₂, corresponding to the same n-bit information word, have the same next-state. The use of this so-called “same-next-state” property of the dual code C₂ leads to the following advantage: the above frustration of the control via C₂ is eliminated: the encoding paths of the main code C₁ between successive points where C₂ is used in the stream of information words is now completely fixed, thus implying the same parity of the channel bitstream encoded with C₁ between successive locations where C₂ is used, independent of the coding choices of C₂.

Having a choice between the two m₂-bit channel words, enables performing DC-control in order to achieve a so-called DC-balanced or a DC-free code. E.g. in optical recording, DC-balanced codes are employed to circumvent or reduce interaction between the data written on a record carrier and the servosystems that follow a track on the record carrier. The bytes encoded with the dual code C₂ are the points in the channel bitstream that allow for control of the DC-content. Apart from controlling the DC-content of the channel bitstream the bytes encoded with the dual code C₂ can be used for influencing other properties of the channel bitstream.

Straightforward DC-control procedures make a decision at each DC-control point depending on an RDS-related criterion, which is evaluated only for the channel bitstream ranging from the considered DC-control point up to the next one. Such locally optimal decision strategy does not exploit all DC-control potential of the channel code. A better approach is to apply look-ahead DC-control, i.e. to build a decision tree of depth N in which the decision at a given DC-control point is determined also by its impact on the subsequent channel bitstream in combination with the future decisions at the next N-1 DC-control points. Each path through the decision tree consists of N branches, and the RDS-criterion applies for the complete path. N-fold Look-Ahead DC-control implies 2^(N) encoding paths, with the drawback of a higher encoder complexity since each byte needs to be encoded 2^(N) times.

For the channel code according to this embodiment, the path followed through the FSM during encoding does not depend on the actual path followed through the N-fold decision tree. This is due to the “same-next-state” property of the two coding options at the dual code C₂. Hence, all bytes related to the main code C₁, need to be encoded only once, whereas all bytes related to the dual code C₂, need to be encoded just twice. This reduces the hardware complexity of the encoding tree down to that related to a simple sequential encoding without further branching. Only the N-fold decision tree of RDS-criteria along the 2^(N) paths remains, resulting in a lower complexity.

An RDS-related criterion can be, for example, the maximum absolute value of the RDS-value itself (first order spectral zero), but also the integrated RDS-value in time (second order spectral zero) or a combination of both can be used. Also the sum variance (SV) can be used as a criterion.

Another method according to the invention is characterized in that the sets of channel words of channel code C₁ and the coding states of channel code C₂ are arranged that binary channel signal formed by the concatenated m₁-bit channel words and the m₂-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel.

Constraints can also limit the number of consecutive runlengths of the same length. For example, when imposing an RMTR (Repeated Minimum Transition Runlength) constraint of n on a d=2 channel code, this constraint implies that the number of successive 3T runlengths in the sequence of channel words is limited to n. In order to realize a Repeated-Minimum-Runlength-Limitation of 6 constraint, code tables are designed from which possible channel words that could lead to the violation of the RMTR-constraint are eliminated (e.g. the word (100)⁵). In another way, the RMTR-constraint can also be obeyed by substituting channel words or patterns when an RMTR-violation would take place. More information about this RMTR (Repeated Minimum Transition Runlength) constraint can be found in published patent application WO99/63671-A1 (PHQ 98.023).

Another method according to the invention is characterized in that the ratio between the number of m₁-bit channel words and the number of m₂-bit channel words is determined in dependence of a chosen measure of DC-control.

It should be noted that the two channel codes C₁ and C₂ are independent codes each, which can also be used separately. C₁ is typically a high-rate code with no systematic structure to steer certain extra properties of the encoded channel bitstream on top of the envisaged runlength constraints (d, k, RMTR). C₂ is a slightly lower-rate code and the rate-loss as compared to C₁, is used for a systematic structure aimed at steering the additionally required properties. For the invention as described in detail below, C₁ and C₂ are to be used in combination, from which the term combi-code is derived, but it should be realized that any combination pattern is possible. The more the main code C₁ is used (relative to the use of the dual code C₂), the higher the rate will be of the overall combination code, but also the lower the controlling capacity will be for the extra envisaged properties of the channel bitstream. With respect to the latter, a maximum of control can be achieved by using the dual code C₂ all the time, and a minimum of control is the case when using only the main code C₁. It can therefore be understood that the ratio between the number of m₁-bit channel words and the number of m₂-bit channel words can be determined in dependence upon a chosen measure of DC-control.

Another method according to the invention is characterized in that the coding state is further being established in dependence upon the n-bit information word, thereby allowing to distinguish this n-bit information word by detecting the coding state.

In order to increase the rate of the information signal, it is advantageous that the coding state is also dependent on the n-bit information word to be encoded. As a result, the same channel word can be used more than one time. In this way, the number of different channel words necessary to construct a channel code is reduced, resulting in a more efficient code. Using states in the framework of a so-called finite-state-machine (FSM) for the characterization of the channel codes C₁ and C₂, therefore provides a possibility of establishing an overall code with a high rate due to the multiple use of the same channel word with different next-states. At the decoder, it is the channel word in combination with the next-state, that uniquely determines the corresponding information word.

Another method according to the invention is characterized in that the coding states of channel code C₁ and the coding states of channel code C₂ are further arranged that a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C₁ and channel code C₂.

In a practical design of a channel code based on the combination of two codes C₁ and C₂ according to the invention, there is some extra room for the design of limited, stochastic control on top of the guaranteed control. Stochastic control is understood to be the kind of control in which the actual use of this control depends on the actual data content (information words) that enters the encoder.

The existence of the room for stochastic DC-control is due to the fact that—in a practical code—some specific patterns do not occur in the channel bitstream under normal application of the channel code; these patterns can then be used as substitution patterns for other patterns that are allowed in the channel bitstream.

By substituting a limited number of channel words or patterns for other channel words or patterns not belonging to the channel words or patterns present in the binary channel signal before the substitutions, additional DC-control can be accomplished, for instance, if the substitutions imply a parity inversion.

The coding methods as described in the above embodiments have the following advantages, which are obvious or will be clarified in the Figure description, i) guaranteed DC-control, ii) reduced error-propagation because of the byte-oriented nature of the encoding, iii) simple single-pass encoding scheme, resulting in reduced encoder complexity for performing encoding with look-ahead DC-control.

The invention also relates to a device for encoding. The invention also relates to a signal comprising a stream of databits of a constrained binary channel signal. The invention further relates to a record carrier and to a device for decoding.

These and other aspects of the invention will be further described in the Figure description, in which

FIG. 1 shows an example of the coding method,

FIG. 2 shows an example of a 6-state Finite-State-Machine to be used for the main code (channel code C₁), aimed for the channel constraints d=2, k=10,

FIG. 3 shows an example of a 6-state Finite-State-Machine to be used for the dual code (channel code C₂), aimed for the channel constraints d=2, k=10,

FIG. 4 shows the code tables of the main code C₁,

FIG. 5 shows the code tables of the dual code C₂,

FIG. 6 shows an example of how decoding of the next-state function of the channel words of the main code is performed,

FIG. 7 shows an example of how decoding of the next-state function of the channel words of the dual code is performed,

FIG. 8 shows a RDS-tree to be used for performing DC-control,

FIG. 9 shows the encoder path on a byte basis to be used for performing DC-control for realizing efficient look-ahead encoding,

FIG. 10 shows a device for encoding according to the invention,

FIG. 11 shows a record carrier on which a signal comprising a stream of databits of a constrained binary channel signal, obtained after carrying out a method according to the invention is recorded in a track,

FIG. 12 shows an enlarged portion of the record carrier of FIG. 11,

FIG. 13 shows a device for decoding according to the invention,

FIG. 14 shows a recording device according to the invention for recording information,

FIG. 15 shows a reading device according to the invention for reading out a record carrier,

FIG. 16 shows a Finite-State Machine, full-bit description for d=1,

FIG. 17 shows a Finite-State Machine, half-bit description for d=1,

FIG. 18 shows a 2-state Finite-State Machine for d=1,

FIG. 19 shows a code alternation of channel code C₁ and channel code C₂ for d=1,

FIG. 20 shows a 5-state Finite-State Machine, half-bit description for d=1,

FIG. 21 shows a 7-state Finite-State Machine, half-bit description for d=1.

FIG. 1 shows graphically an example of the coding method. Using this method predetermined properties of the binary channel signal can be influenced, for example for guaranteed DC-control via the alternation of two codes C₁ and C₂ via an alternation pattern that is also known at the decoder.

We consider two channel codes, C₁ and C₂. Both codes are applied on n-bit symbols. Channel code C₁ is a high-rate code with n-to-m₁ mapping, channel code C₂ is a low-rate code with n-to-m₂ mapping. In this example, for d=2, k=10, C₁ has a 8-to-15 mapping, and C₂ has a 8-to-17 mapping (n=8, m₁=15, m₂=17). Guaranteed DC-control, i.e. DC-control for every possible sequence of information words is achieved if the following conditions are satisfied: for each n-bit symbol, channel code C₂ has two channel words, one with even and one with odd parity in order to influence the RDS-value of the binary channel signal; for each n-bit symbol, the two possible channel representations of code C₂ have the same next-state. The Finite-State-Machines (FSMs) of codes C₁ and C₂, indicating the states and state characterisations of the channel codes C₁ and C₂, have the same number of states, and the FSM are based on the same approximate eigenvector (according to Franazek's definition, see § 5.3.1. of the book “Codes for mass data storage systems”, K. A. Schouhamer Immink, November 1999, Shannon Foundation Publishers (ISBN-90-74249-23-X), which implies that channel words ending with a given number of zeroes have a certain multiplicity, irrespective of the fact whether they are part of a channel word from the main code C₁ or from the dual code C₂. The approximate eigenvector in this case of d=2, k=10 which satisfies an approximate eigenvector inequality is the following: V_((d=2,k=10))={2,3,4,4,4,4,3,3,3,2,1}.

However, the characterization of the states of FSM₁ for C₁ and FSM₂ for C₂ may be different. These state characterizations are chosen in order to realize the constraints imposed on the binary channel signal. These constraints can be, for example, runlength-limiting constraints (d,k) or an RMTR constraint. In this way, the constraints imposed on the binary channel signal, formed by concatenating the m₁-bit channel words and the m₂-bit channel words, are satisfied. We can call channel code C₁ the main code, whereas channel code C₂ is referred to as the dual code. The upper part of FIG. 1 depicts an n-bit information word 1 which is converted into an m₁-bit channel word 2 via a channel C₁ or into an m₂-bit channel word 3 via a channel code C₂.

The two available m₂-bit channel words are indicated in FIG. 1 by the corresponding parities, “0” and “1”. The arrows in the lower part of this Figure depict the “flow” through the coding states of the Finite-State-Machines FSM₁ and FSM₂ when converting the information words. It can be seen that when converting an information word into an m₁-bit channel word, only one arrow points from the coding state of the channel word to the coding state of the next channel word, whereas when converting an information word into an m₂-bit channel word, two arrows point from the coding state of the channel word to the coding state of the next channel word, indicating the choice between the two available m₂-bit channel words.

The lower part of FIG. 1 depicts that for each information word (256 entries as the information words are 8 bits long, n=8) two m₂-bit channel words are available with opposite parities and with the same next-state. When converting an n-bit information word into an m₂-bit channel word, this m₂-bit channel word can be chosen from the two available m₂-bit channel words. In this example, this choice in used to create a DC-balanced or DC-free channel code.

FIG. 2 shows an example of the state characterization for a 6-state Finite-State-Machine to be used for the main code (channel code C₁). In this example the channel constraints to be complied with are d=2 and k=10 and the channel code C₁ has a 8-15 mapping. FIG. 3 shows an example of a 6-state Finite-State-Machine to be used for the dual code (channel code C₂). In this example the channel constraints to be complied with are d=2 and k=10 and the channel code C₂ has a 8-17 mapping.

In these Figures, a notation of “−10²|”, as can be found in the column words IN in state 1 of the main code, indicates all channel words with an ending “100”. In the same way “|010¹⁰1-”, as can be found in the column words OUT of state 2 of the main code, indicates all channel words with a beginning “0100000000001”.

The Finite-State-Machines (FSMs) of codes C₁ and C₂ have the same number of states, and the FSMs are based on the same approximate eigenvector, which implies that channel words ending with a given number of zeroes have a certain multiplicity, irrespective of the fact whether they are part of a channel word from the main code C₁ or from the dual code C₂. In the FSM of the dual code C₂, each branch leaving a state corresponds to two possible channel words (word-pair) with i) opposite parity and ii) the same next-state. The FIGS. 2 and 3 show that the multiplicity of any channel word in the 6-state FSMs ranges between 1 and 4.

A lot of channel words or word-pairs are used more than once across different states. By appropriate mating, i.e. grouping of the same combination of channel words or word-pairs together with next-states to one single table entry for more than one state, error propagation can be reduced because a precise distinction of the states leading to the given channel word has become irrelevant for these channel words or word pairs. In fact, the codes C₁ and C₂ allow full state-independent decoding.

The skilled person is familiar with channel codes comprising different states, the states forming a Finite-State-Machine. Detailed information on state-coding can be found in literature, for example in European Patent Specification EP 0 745 254 B 1 (PHN 14.746) or in the book “Codes for mass data storage systems”, K. A. Schouhamer Immink, November 1999, Shannon Foundation Publishers (ISBN-90-74249-23-X).

In § 5.3 of this book it is explained that, in order to be able to construct a sequence of channel words complying with the constraints imposed on a channel code, at least M words that terminate at the same or other principal states must emanate from each coding state. The existence of a set of coding states is therefore a necessary condition for the existence of a code for the specified number of information words (256 in case of an 8-bit information word). It can be shown that if an approximate eigenvector satisfies an approximate eigenvector inequality, then a fixed-length code with the predetermined constraints and other parameters of the code can be ascertained. More details can be found in § 5.3.1 of this book and in the literature references therein.

The invention in the above embodiment is not limited to a method of encoding in order to realize a binary channel signal with guaranteed DC-control and reduced error-propagation, with the parameters d=2, k=10, n=8, m₁=15, m₂=17; a skilled person can apply the teaching of the method of encoding according to the invention, without departing from the scope of the invention, to generate a binary channel signal with, for example, d=2, n=7 or d=2 or n=13. He can, for example, also generate a binary channel signal with a d=1 constraint.

For d=2 channel coding, the dual code C₂ of the combi-code needs two channel bits extra for each channel word, in comparison with the channel words of the main code (8-to-17 and 8-to-15 mappings of main and dual code, respectively). As a rule of thumb, the extra overhead in terms of channel bits, needed for the design of the dual code is the inverse value of the rate R of the channel code. For d=2, k=10 the maxentropic capacity (theoretical upper limit for the rate) equals 0.5418, thus around 1.846 “bits” are needed, which is rounded towards 2.

For d=1 channel coding, the situation is quite different. The maxentropic capacity (without k-constraint) equals 0.6942, so that usually codes are designed with a rate equal to ⅔. Byte-oriented codes with an 8-to-12 mapping can then be used for the main code. The extra number of “bits” needed for the channel words of the dual code now amounts to 1.441 “bits”. Rounding towards 2 would lead to a dual code with an 8-to-14 mapping, but then a rate-loss of more than a half bit results, which makes the combi-code approach as such less interesting from the point of view of capacity. An extra measure, which will be discussed in the following, is needed in order to avoid the above rate-loss.

The present solution is worked out for the case d=1: for other d-constraints, similar solutions can be devised. The solution for d=1 is to describe the channel coding in terms of half-bits, instead of the common description in terms of full bits. The standard full-bit FSM for d=1, and the half-bit FSM are shown in FIGS. 16 and 17, respectively.

In the half-bit FSM, one can make a distinction between Even States, where words entering these states have an even number of trailing zeroes, and Odd States, where words entering these states have an odd number of trailing zeroes. The Even States are numbered {1,3,5}, the Odd States are numbered {2,4}. In the half-bit FSM, we consider an 8-to-24 mapping for the main code, and an 8-to-27 mapping for the dual code. There exist now two versions of the main code: one with E-to-E coding, going from one of the states {1,3,5} towards one of the states {1,3,5}, the other with O-to-O coding, going from one of the states {2,4} towards one of the states {2,4}. There also exist two versions of the dual code: one with E-to-O coding, going from one of the states {1,3,5} towards one of the states {2,4}, the other with O-to-E coding, going from one of the states {2,4} towards one of the states {1,3,5}. It is convenient to consider a two-state FSM for the encoding with the combi-code, consisting of the E and the O state, as shown in FIG. 18. Encoding with the main code does not lead to a state change (E→E or O→O), whereas encoding with the dual code always leads to a state change (E→O or O→E) because the number of half-bits in a channel word of the dual code is odd.

The encoding sequence for successive segments of the combi-code is shown in FIG. 19. A segment is a sequence of source words (bytes), the first of which is to be encoded with the dual code C₂, and all subsequent source words (bytes) are to be encoded with the main code C₁.

For the generation of channel words for the two main codes, we adopt the following argumentation. A full-bit channel word (of length 12 bits) can be converted into a half-bit channel word (of length 24 half-bits) for the E-state via the conversion rules 0→00 and 1→01, implying that a full-bit channel word |0^(n)1→10^(m)| is converted into |0^(2n+1)1→10^(2m)|. The arrow from “1” to “1” indicates any valid sequence according to the respective FSMs. Note that due to the conversion, there can only be an odd number of zeroes in between two ones of the half-bit word, in agreement with the half-bit FSM.

A full-bit channel word can be converted into a half-bit channel word for the O-state via the conversion rules 0→00 and 1→10, implying that a full-bit channel word |0^(n)1→10^(m)| is converted into |0^(2n)1→10^(2m+1)|.

The generation of words for the dual codes is slightly more involved. For the E-state, we convert a 13-bit channel word |0^(n)1→10^(m)| first into a half-bit channel word of length 26, and supply an extra bit x at the end: |0^(2n+1)1→10^(2m)|. It is obvious that for the E-state, only x=0 is allowed. The concatenation with the extra bit x=0 implies the construction of a half-bit channel word of length 27, with the next-states being converted from {1} to {2}, and from {3,5} to {4}. For the O-state, a similar procedure leads to the 27-half-bit channel word |0^(2n)1→10^(2m+1)|x, where x=1 is allowed only if m≧1, then leading to state 1 as next-state. The other possibility x=0 is always allowed, leading to state 3 as next-state if m is even, and to state 5 as next-state if m is odd.

The possibility of constructing such a code is easily enumerated. We consider the approximate eigenvector {2,2,3,4,3} for the states of the half-bit-FSM. Further, we restrict n≦5 and m≦5 (in view of a k-constraint, which is not imposed via the FSM). It is not our present aim to construct a most optimal code (in terms of the k-constraint, given d=1), but we merely want to show the feasibility of the proposed measures for the design of combi-codes for d=1.

For the main code, in state E with states {1,3,5}, i.e. code C₁ ^(E), we have for words leaving from state 1 that n≧1, and 519 words are available, which is enough since the state multiplicity of state 1 equals 2, thus 512 words are needed; for words leaving from states 3 and 5, we have that n≧0, and 872 words are available, which is enough since the state multiplicity of states 3 and 5 equals 3, thus 768 words are needed.

For the main code, in state O with states {2,4}, i.e. code C₁ ^(O), we have for words leaving from state 2 that n≧1, and 638 words are available, which is enough since the state multiplicity of state 2 equals 2, thus 512 words are needed; for state 4, we have that n≧0, and 1072 words are available, which is enough since the state multiplicity of state 4 equals 4, thus 1024 words are needed.

For the dual code, we have to account for the “same next-state” property according to the present invention. For the dual code, in state E with states {1,3,5}, i.e. code C₂ ^(E), we have for words leaving from state 1 that n≧1, and there are 132 even-parity and 130 odd-parity channel words with state 2 as the next-state, and there are 384 even-parity and 388 odd-parity channel words with state 4 as the next-state, yielding a total of 514 possible entries for the dual code, which is enough since the state multiplicity of state 1 equals 2, requiring 512 entries; for words leaving from states 3 and 5, we have that n≧0, and there are 220 even-parity and 220 odd-parity channel words with state 2 as the next-state, and there are 648 even-parity and 648 odd-parity channel words with state 4 as the next-state, yielding a total of 868 possible entries for the dual code, which is enough since the state multiplicity of states 3 and 5 equals 3, requiring 768 entries.

For the dual code, in state O with states {2,4}, i.e. code C₂ ^(O), we have for words leaving from state 2 that n≧1, and there are 194 even-parity an d 192 odd-parity channel words with state 1 as the next-state, and there are 300 even-parity and 300 odd-parity channel words with state 3 as the next-state, and there are 186 even-parity and 186 odd-parity channel words with state 5 as the next-state, yielding a total of 678 possible entries for the dual code, which is enough since the state multiplicity of state 2 equals 2, requiring 512 entries; for words leaving from state 4, we have that n≧0, and there are 324 even-parity and 324 odd-parity channel words with state 1 as the next-state, and- there are 504 even-parity and 504 odd-parity channel words with state 3 as the next-state, and there are 312 even-parity and 312 odd-parity channel words with state 5 as the next-state, yielding a total of 1140 possible entries for the dual code, which is enough since the state multiplicity of state 4 equals 4, requiring 1024 entries.

In the case of d=1, k=7, the following eigenvector satisfies an approximate eigenvector inequality: V_((d=1,k=7,s=2))={3,4,5,6,5,6,4,6,3,3,3,3,3,3,2,2}. The accompanying Finite-State Machines, a 5-state and a 7-state Finite-State Machine, half-bit description for d=1, are shown in FIG. 20 and FIG. 21. In the columns Fan-Out Main Code and Fan-Out Dual Code of these Figures the number channel words is indicated. It can be seen that the number of redundant words can be different for the main code or the dual code.

FIG. 4 shows the code tables of the main code (channel code C₁), d=2, k=10, RMTR=6, with the entry index representing the index of the 8-bit information symbol (0-255). For each entry, one 15-bit long channel word is listed together with the corresponding next-state.

FIG. 5 shows the code tables of the dual code C₂ (channel code C₁), d=2, k=10, RMTR=6, with the entry index representing the index of the 8-bit information symbol (0-255). For each entry, the two 17-bit long channel words (word-pairs) are listed together, with the corresponding next-states. These next-states are identical.

The systematic structure of the main code C₁ and the dual code C₂ realized a guaranteed control of the extra desired properties of the channel bitstream (like a DC-free property). In an embodiment of a channel code based on the combination of two codes C₁ and C₂, there is some extra room for the design of (limited) stochastic control on top of the guaranteed control. Stochastic control is understood to be of control in which the actual use of this control depends on the actual data content that enters the encoder.

The existence of the room for stochastic DC-control is due to the fact that—in a practical code—some specific patterns do not occur in the channel bitstream under normal application of the channel code; these patterns can then be used as substitution patterns for other patterns that are allowed in the channel bitstream. For instance, if the substitutions imply a parity inversion, then the substitutions can be used for additional DC-control, in the same sense as the substitution table is used in the EFM-Plus code. The evaluation which pattern is to be selected can be performed on the basis of an RDS-related criterion, e.g. with one byte look-ahead. Although the invention as described so far is related to a channel code with a guaranteed control in the combination of two codes, the invention also relates to using this stochastic control in a limited number of substitutions.

We will outline below some of the possibilities (referred to as A to O) of stochastic control for the main code C₁ and dual code C₂ according to the code tables of FIGS. 4 and 5. We limit ourselves here to those which are the easiest to be implemented. For both the main and dual code we have the possible substitutions (where bits between brackets, like (zu) refer to 17-bit channel words of channel code C₂):

-   A.     -   |100 100 000 100 0 xy (zu)→|100 100 100 100 0 xy (zu), if the         RMTR=6 constant is not violated. -   B.     -   |010 010 000 010 00x (yz)→|010 010 010 010 00x (yz), if the         RMTR=6 constraint is not violated, and when the current state is         not state 3. -   C.     -   |001 001 000 001 000 (xy)→|001 001 001 001 000 (xy), if the         RMTR=6 constraint is not violated and when the current state is         not state 3. -   D.     -   If a channel word has as an ending: −10 ², the following         substitutions can be applied on the next channel word:         -   10⁵1−→0⁶1−         -   10⁶1−→0⁷1−         -   10⁷1−→0⁸1− -   E.     -   If a channel word has as an ending: −10³, the following         substitutions can be applied on the next channel word:         -   10⁵1−→0⁶1−         -   10⁶1−→0⁷1− -   F.     -   If a channel word has as an ending: −10⁴, the following         substitutions can be applied on the next channel word:         -   10⁵1−→0⁶1− -   G.     -   If a channel word has as an ending: −10⁶, the following         substitutions can be applied on the next channel word:         -   10²1−→0³1−         -   10³1−→0⁴1− -   H.     -   If a channel word has as an ending: −10⁷, the following         substitutions can be applied on the next channel word:         -   10²1−→0³1− -   I.     -   If a channel word has as an ending: −10⁹, the following         substitutions can be applied on the next channel word:         -   010⁵1−→010²10²1−, if the RMTR=6 constraint is not violated. -   J.     -   If a channel word has as an ending: −10¹⁰, the following         substitutions can be applied on the next channel word:         -   10²10²1−→10⁵1−         -   10²10³1−→10⁶1−         -   10²10⁴1−→10⁷1−         -   10²10⁷1−→10¹⁰1−     -   For the main code C₁ only, we have as extra substitutions: -   K.     -   |10²10⁵10⁴x|→|10⁸10⁴x| -   L.     -   |10²10⁶10²xy|→|10⁹10²xy| -   M.     -   If a channel word has as an ending: −10^(n), the following         substitutions can be applied on the next channel word:         -   |0²10²10⁷10|→|0²10¹⁰10|         -   For 2≦n≦8. -   N.     -   |0⁵10²10⁵x|→|0⁵10⁸x| -   O.     -   |0⁹10²10²|→|0⁹10⁵|

It must be stressed that whenever a possible substitution (under A up to O) violates the run length constraints (k=10, RMTR=6), the substitution is not performed.

In FIG. 6 is shown of how the next-state can be decoded for the channel words of the main code. In FIG. 7 is shown how the next-state can be decoded for the channel words of the dual code.

When decoding a channel word, either from the main code C₁ or from the dual code C₂, into an 8-bit information word, no knowledge of the current state is needed. Therefore, this decoding is called state-independent decoding. On the other hand, knowledge of the next-state is needed in order to be able to uniquely decode the channel words in the case of multiple occurrence of the given channel word. In fact, a code word is uniquely represented not only by the given channel word, but by the combination of channel word and next-state.

In FIGS. 6 and 7 it can be seen that, for determination of the next-state, a decoding window with a decoder look-ahead of a maximum of 12 bits and 14 bits into the next channel word must be performed, in case the next channel word is encoded with the main or dual code respectively. The entries in the tables of FIGS. 6 and 7 where this maximum decoder look-ahead is necessary are indicated with arrows. This decoder look-ahead must not be confused with the look-ahead encoding for improved DC-control. The asterisks in the FIGS. 6 and 7 indicate that all possible bit-combinations are allowed, as long as the imposed constraints are met.

When decoding the channel words into the information words, a so-called hashing-technique can be used, as will be explained below. Using this technique results in a reduced hardware complexity, i.e. a smaller number of gates, necessary to implement the decoder algorithm. We will describe one particular implementation in more detail. Decoding the channel words of the main code, using the hashing technique is performed as follows. Via enumerative decoding for d=2 the 15-bit channel word is converted into a 9-bit word by 15-to-9 mapping. Enumerative decoding is decoding in which the channel words to be decoded are computed by an algorithmic procedure based on the d=2 constraint instead of storing all the channel words in a table (for more information about enumerative coding refer to chapter 6 of the book “Codes for mass data storage systems”, K. A. Schouhamer Immink, November 1999, Shannon Foundation Publishers, ISBN-90-74249-23-X). The number of the next-state is decoded via 2-bit coding in 2 bits because the maximum multiplicity of channel words equals 4. The 9-bit word and the 2-bit state word results in an 11-bit index. This 11-bit index is converted into the 8-bit information word with a hashing table for the main code, this hashing table comprising a table with at maximum 2048 entries (=2¹¹) (state-independent decoding).

When decoding the channel words of the dual code, the hashing technique is performed as follows. Via enumerative decoding for d=2 the 17-bit channel word is converted into a 10-bit word by 17-to-10 mapping. The number of the next-state is decoded via 2-bit coding in 2 bits. The 10-bit word and the 2-bit state word results in a 12-bit index. This 12-bit index is converted into the 8-bit information word with a hashing table for the dual code, this hashing table comprising one single table for all 6 states and both parities and 4096 entries (=2¹²).

In FIG. 8 an RDS-tree to be used for performing DC-control is shown. RDS stands for the Running Digital Sum, which is a measure of the DC-content of the binary channel signal. As said before, for each m₂-bit channel word to be encoded, DC-control can be performed. In order to realize the most effective DC-control, it is advisable to “look-ahead” in order to determine which choice of m₂-bit channel word, out of the two available m₂-bit channel words, results in the best RDS-value. As can be seen in FIG. 8, in order to be able to look-ahead N decisions, 2^(N) possible paths of the RDS-tree must be calculated. For N=3, 8 possible paths must be calculated. It is clear that the number of paths to be calculated is only depending on the number of m₂-bit channel words to be encoded; the number of m₁-bit channel words is not important as no additional paths are added when encoding an m₁-bit channel word.

FIG. 8 shows the decision tree with depth N, as it applies in general, i.e. both to the encoding along the distinct paths and to the evaluation criterion. FIG. 9 shows the encoding tree with largely reduced complexity, which becomes possible due to the “same-next-state” property of the dual code C₂. Although the RDS-criterion needs still to be evaluated along the distinct paths, the encoding of bytes with C₁ needs to be done only a single time, whereas bytes to be encoded with C₂, need, of course, to be encoded twice.

Consider a block of N*n_(B) bytes, comprising N bytes related to a channel word of the dual code and comprising N*(n_(B)−1) bytes related to channel words of the main code. It can be calculated that, in the case of the RDS-tree of FIG. 8, the number of bytes to be encoded in order to perform look-ahead DC-control is (2^(N)*n_(B)) bytes; It can similarly be calculated that, in the case of FIG. 9, the number of bytes to be encoded in order to perform look-ahead DC-control is N*(n_(B)+1) bytes.

In conclusion, it is shown that, in order to realize efficient look ahead encoding for DC-control, the coding method according to the invention is arranged so that for each n-bit symbol, the two possible channel representations of code C₂ have the same next-state.

FIG. 10 shows a device for encoding according to the invention. In this encoding device 100, a stream of databits of a binary information signal 101 is converted into a stream of databits of a constrained binary channel signal 103. The encoding device 100 comprises a converter 102 for converting the n-bit information words into m₁-bit channel words and for converting the n-bit information words into m₂-bit channel words, in accordance with the coding method, for example in accordance with the code table of the main code C₁ and the dual code C₂ as shown in FIGS. 4 and 5. The encoding device 100 further comprises state-establishing means 104 for establishing a coding state of the m₁-bit channel words and of the m₂-bit channel words. Using this coding state, the converter 102 can convert the next n-bit information word.

FIG. 11 shows, by way of example, a record carrier 110 on which a signal comprising a stream of databits of a constrained binary channel signal, obtained after carrying out a method according to the invention is recorded in a track. FIG. 12 shows an enlarged portion of the record carrier of FIG. 11.

The record carrier shown is of an optically detectable type. The record carrier may also be of a different type, for example, a magnetically readable type. The record carrier comprises information patterns arranged in tracks 111. FIG. 12 shows an enlarged portion 112 of one of the tracks 111. The information pattern in the track portion 112 shown in FIG. 12 comprises first sections 113, for example, in the form of optically detectable marks and second sections 114, for example, intermediate areas lying between the marks. The first and second sections alternate in a direction of the track 115. The first sections 113 present first detectable properties and the second sections 114 present second properties which are distinguishable from the first detectable properties, The first sections 113 represent bit cells 116 of the modulated binary signal S having one signal level, for example the low signal level L. The second sections 114 represent bit cells 117 having the other signal level, for example the high signal level H. The record carrier 110 may be obtained by first generating the modulated binary channel signal and then providing the record carrier with the information pattern. If the record carrier is an optically detectable type, the record carrier can then be obtained by means of mastering and replica techniques known to a person skilled in the art.

FIG. 13 shows a device for decoding. In this decoding device 132, a stream of databits of a constrained binary channel signal 131 is converted into a stream of databits of a binary information signal 134. The decoding device 132 comprises a converter for converting the constrained binary channel signal 131 into the stream of databits of a binary information signal. Decoding can be accomplished, for example, by using a hashing technique as described in and with reference to FIGS. 6 and 7. When decoding the binary channel signal 131, information about the next channel word to be decoded is needed, as is explained in and with reference to FIGS. 6 and 7. This information 133 is supplied to the decoding device 132 before decoding the present channel word.

FIG. 14 shows a recording device for recording information. The Figure shows a recording device for recording information, in which the device for encoding according to the invention is used, for example the device for encoding 100 shown in FIG. 10. The signal line 141 supplies the information words to be encoded to the device for encoding 100. In the recording device the signal line 142 for supplying the modulated binary channel signal is connected to a control circuit 143 for a write head 144 along which a record carrier 145 of a writable type is moved. The write head 144 is of a customary type which is capable of introducing marks having detectable changes on the record carrier 145. The control circuit 143 may also be of a customary type generating a control signal for the write head in response to the modulated signal applied to the control circuit 143, so that the write head 144 introduces a pattern of marks that corresponds to the modulated signal.

FIG. 15 shows a reading device for reading out a record carrier. This Figure shows a reading device in which a device for decoding according to the invention is used, for example, the decoding device 132 shown in FIG. 3. The reading device comprises a read head 152 of a customary type for reading out a record carrier 151 according to the invention which record carrier 151 carries an information pattern that corresponds to the modulated binary channel signal according to the invention. The read head 152 then produces an analog read signal modulated in accordance with the information pattern read out by the read head 152. Detection circuit 153 converts this read signal in customary fashion into a binary signal, which is applied to the decoding circuit 132.

Whilst the invention has been described with reference to preferred embodiments therefor, it is to be understood that these are not limitative examples. Thus, various modifications may become apparent to those skilled in the art, without departing from the scope of the invention, as defined by the claims.

For example, instead of using one main code and one dual code, it is also possible to create a stream of channel words, without departing from the scope of the invention, by using a combination of more than one main code and/or more than one dual code. By appropriately mixing these codes, the constraints of the stream of channel words can still be complied with.

For example, the scope of the invention is not limited to a method of encoding an information word into one m₁-bit channel word followed by one m₂-bit channel word. The number of information words to be encoded into m₁-bit channel words before encoding an information word into a m₂-bit channel word is not prescribed.

For example, the scope of the invention is not limited to a binary code. Without deviating from the gist of the invention, the invention can be applied to multi-level codes, ternary codes or other M-ary codes. The number of different m₂-bit channel words for each n-bit information word must at least be two and in an advantageous situation, this number is equal to the number of values of the multivalued “parity”-parameter, while the “parities” of the channel words must at least cover all the different values at least once. In the case of a ternary code (with values −1, 0 and 1) this implies that at least three different m₂-bit channel words with “parities” −1, 0 and 1 are present in the channel code C₂ (with the same next-state).

Furthermore, the invention resides in each and every novel characteristic feature or each and every combination of characteristic features. 

1. A method of converting a stream of databits of a binary information signal into a stream of databits of a constrained binary channel signal, wherein the stream of databits of the binary information signal is divided into n-bit information words, said information words being converted into m1-bit channel words in accordance with a channel code C1, or m2-bit channel words, in accordance with a channel code C2, where m1, m2 and n are integers for which it holds that m2>m1>n, wherein the m2-bit channel word is chosen from at least two m2-bit channel words, at least two of which have opposite parities, a concatenation of the m1-bit channel words and the m2-bit channel words complying with a runlength constraint of the binary channel signal, characterized in that the method comprises the repetitive and/or alternate steps of: selecting the m1-bit channel word from a set out of a plurality of sets of m1-bit channel words, each set comprising only m1-bit channel words having a beginning part out of a subset of beginning parts of the m1-bit channel words, each set being associated with a coding state of channel code C1, the coding state being established in dependence upon an end part of the preceding channel word, or: selecting the m2-bit channel word from a set out of a plurality of sets of m2-bit channel words, each set comprising only m2-bit channel words having a beginning part out of a subset of beginning parts of the m2-bit channel words belonging to said set, each set being associated with a coding state of channel code C2, the coding state being established in dependence upon an end part of the preceding channel word, the end parts of the m1-bit channel words in a coding state of channel code C1 and the beginning parts of the m2-bit channel words in a set of channel code C2 being arranged to comply with said runlength constraint.
 2. The method according to claim 1, characterized in that the number of coding states of channel code C1 is equal to the number of coding states of channel code C2.
 3. The method according to claim 2 characterized in that said at least two m2-bit channel words establish the same state.
 4. The method according to claim 2, characterized in that the ratio between the number of m1-bit channel words and the number of m2-bit channel words is determined in dependence of a chosen measure of DC-control.
 5. The method according to claim 1, characterized in that the end part of any m1-bit channel word has a multiplicity y1, the multiplicity y1 being the number of different states of the channel code C1 said end part may establish, and that the end part of any m2-bit channel word has a multiplicity y2, the multiplicity y2 being the number of states of the channel code C2 said end part may establish and in that y1=y2 if the end part of the m1-bit channel word is equal to the end part of the m2-bit channel word.
 6. The method according to claim 5 characterized in that said at least two m2-bit channel words establish the same state.
 7. The method according to claim 5, characterized in that the ratio between the number of m1-bit channel words and the number of m2 -bit channel words is determined in dependence of a chosen measure of DC-control.
 8. A method as claimed in claim 5, characterized in that the coding states of channel code C1 and the coding states of channel code C2 are further arranged that a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 9. A method as claimed in claim 5, characterized in that the coding states of channel code C1 and the coding states of channel code C2 are further arranged that a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 10. The method according to claim 1, characterized in that said at least two m2-bit channel words establish the same state.
 11. The method according to claim 10, characterized in that the ratio between the number of m1-bit channel words and the number of m2-bit channel words is determined in dependence of a chosen measure of DC-control.
 12. A method as claimed in claim 10, characterized in that the coding states of channel code C1 and the coding states of channel code C2 are further arranged that a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 13. The method according to claim 1, characterized in that the sets of channel words of channel code C1 and the sets of channel words of channel code C2 are arranged that binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a d=2 constraint and a k=10 constraint.
 14. The method according to claim 13, characterized in that the sets of channel words of channel code C1 and the coding states of channel code C2 are arranged that binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel.
 15. The method according to claim 1, characterized in that the sets of channel words of channel code C1 and the coding states of channel code C2 are arranged that binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel.
 16. The method according to claim 1, characterized in that n=8, m1=15, m2=17.
 17. The method according to claim 1, characterized in that the ratio between the number of m1-bit channel words and the number of m2-bit channel words is determined in dependence of a chosen measure of DC-control.
 18. The method according to claim 1, characterized in that the coding state is further being established in dependence upon the n-bit information word, thereby allowing to distinguish this n-bit information word by detecting the coding state.
 19. The method as claimed in claim 1, characterized in that the coding states of channel code C1 and the coding states of channel code C2 are further arranged that a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 20. A device for encoding a stream of databits of a binary information signal into a stream of databits of a constrained binary channel signal, for performing the method of claim 1, the device comprising an n-to-m1-bit converter for converting the n-bit information words into m1-bit channel words, an n-to-m2-bit converter for converting the n-bit information words into m2-bit channel words, state-establishing means for establishing a coding state of the m1-bit channel words and of the m2-bit channel words, which n-to-m1 bit converter is further arranged for selecting the m1-bit channel word depending on the end part of the preceding channel word, which n-to-m2 bit converter is further arranged for selecting the m2-bit channel word depending on the end part of the preceding channel word.
 21. The device for encoding according to claim 20, characterized in that the device further comprises writing means for writing an information pattern on a record carrier.
 22. A signal comprising a stream of databits of a constrained binary channel signal, obtained by the method of claim
 1. 23. A record carrier on which the signal of claim 22 is recorded in a track, in which information patterns represent the signal portions, which information patterns comprise first and second parts, alternating in the direction of the track, the first parts presenting detectable properties and the second parts presenting detectable properties which are distinguishable from the first properties, the parts having the first properties representing bit cells having the first logic value and the parts having the second properties representing the bit cells having the second logic value.
 24. The record carrier of claim 23, wherein: the number of coding states of channel code C1 is equal to the number of coding states of channel code C2; the end part of any m1-bit channel word has a multiplicity y1, the multiplicity y1 being the number of different states of the channel code C1 said end part may establish, and that the end part of any m2-bit channel word has a multiplicity y2, the multiplicity y2 being the number of states of the channel code C2 said end part may establish and in that y1=y2 if the end part of the m1-bit channel word is equal to the end part of the m2-bit channel word; the at least two m2-bit channel words establish the same state; the binary channel signal complies with a d=2 constraint and a k=10 constraint; the binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel; n=8, m1=15, m2=17; the ratio between the number of m1-bit channel words and the number of m2-bit channel words depends on a chosen level of DC-control; the coding state established also depends on the n-bit information word, thereby allowing to distinguish this n-bit information word by detecting the coding state; a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 25. A device for decoding a stream of databits of a constrained binary channel signal into a stream of databits of a binary information signal, the device comprising converting means for converting the signal of claim 22 into a bit string of bits having a first or a second value, the signal containing the m1-bit channel words and the m2-bit channel words, the bit string comprising the n-bit information words, the converting means being arranged to convert the m1-bit channel words and m2-bit channel words into n-bit information words, wherein one information word is assigned to one channel word to be converted.
 26. The device for decoding according to claim 25, characterized in that the device further comprises reading means for reading out an information pattern from a record carrier.
 27. The decoding device of claim 25, wherein: the number of coding states of channel code C1 is equal to the number of coding states of channel code C2; the end part of any m1-bit channel word has a multiplicity y1, the multiplicity y1 being the number of different states of the channel code C1 said end part may establish, and that the end part of any m2-bit channel word has a multiplicity y2, the multiplicity y2 being the number of states of the channel code C2 said end part may establish and in that y1=y2 if the end part of the m1-bit channel word is equal to the end part of the m2-bit channel word; the at least two m2-bit channel words establish the same state; the binary channel signal complies with a d=2 constraint and a k=10 constraint; the binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel; n=8, m1=15, m2=17; the ratio between the number of m1-bit channel words and the number of m2-bit channel words depends on a chosen level of DC-control; the coding state established also depends on the n-bit information word, thereby allowing to distinguish this n-bit information word by detecting the coding state; a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 28. The signal of claim 22, wherein: the number of coding states of channel code C1 is equal to the number of coding states of channel code C2; the end part of any m1-bit channel word has a multiplicity y1, the multiplicity y1 being the number of different states of the channel code C1 said end part may establish, and that the end part of any m2-bit channel word has a multiplicity y2, the multiplicity y2 being the number of states of the channel code C2 said end part may establish and in that y1=y2 if the end part of the m1-bit channel word is equal to the end part of the m2-bit channel word; the at least two m2-bit channel words establish the same state; the binary channel signal complies with a d=2 constraint and a k=10 constraint; the binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel; n=8, m1=15, m2=17; the ratio between the number of m1-bit channel words and the number of m2 -bit channel words depends on a chosen level of DC-control; the coding state established also depends on the n-bit information word, thereby allowing to distinguish this n-bit information word by detecting the coding state; a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 29. The method of claim 1, wherein: the number of coding states of channel code C1 is equal to the number of coding states of channel code C2; the end part of any m1-bit channel word has a multiplicity y1, the multiplicity y1 being the number of different states of the channel code C1 said end part may establish, and that the end part of any m2-bit channel word has a multiplicity y2, the multiplicity y2 being the number of states of the channel code C2 said end part may establish and in that y1=y2 if the end part of the m1-bit channel word is equal to the end part of the m2-bit channel word; the at least two m2-bit channel words establish the same state; the binary channel signal complies with a d=2 constraint and a k=10 constraint; the binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel; n=8, m1=15, m2=17; the ratio between the number of m1-bit channel words and the number of m2-bit channel words depends on a chosen level of DC-control; the coding state established also depends on the n-bit information word, thereby allowing to distinguish this n-bit information word by detecting the coding state; and a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 30. The device of claim 20, wherein: the number of coding states of channel code C1 is equal to the number of coding states of channel code C2; the end part of any m1-bit channel word has a multiplicity y1, the multiplicity y1 being the number of different states of the channel code C1 said end part may establish, and that the end part of any m2-bit channel word has a multiplicity y2, the multiplicity y2 being the number of states of the channel code C2 said end part may establish and in that y1=y2 if the end part of the m1-bit channel word is equal to the end part of the m2-bit channel word; the at least two m2-bit channel words establish the same state; the binary channel signal complies with a d=2 constraint and a k=10 constraint; the binary channel signal formed by the concatenated m1-bit channel words and the m2-bit channel words comply with a Repeated-Minimum-Runlength-Limitation=6 constraint on the binary channel; n=8, m1=15, m2=17; the ratio between the number of m1-bit channel words and the number of m2-bit channel words depends on a chosen level of DC-control; the coding state established also depends on the n-bit information word, thereby allowing to distinguish this n-bit information word by detecting the coding state; a limited number of channel words is substituted for other channel words or patterns, these other channel words or patterns not belonging to the sets of channel words of channel code C1 and channel code C2.
 31. A code word signal produced by the method of claim
 1. 32. A method comprising: receiving an information signal representing information words having n-bit values; converting the information words into code words, some of the code words having m1-bit values and other of the code words having m2-bit values, m1, m2 and n are integers and m2>m1>n; and transmitting a code signal representing a sequence of code words, subsequent code words of the sequence immediately following preceding code words; wherein: the converting of information words into the corresponding m1-bit code words is in accordance with a conversion code C1; the converting of information words into corresponding m2-bit code words is in accordance with a conversion code C2; the sequence of code words complies with a runlength constraint and with a second constraint that is at least partially independent of the runlength constraint; the converting includes selecting between conversion code C1 and conversion code C2 depending on a measure of the second constraint at times during the conversion; at least for subsequent code words, for multiple information word values, the conversion using the C1 conversion code includes selecting between multiple predetermined alternative code word values for the same information word value, the alternative code word values have mutually different beginning parts, and the selection depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; the conversion of each information word using the C2 conversion code includes selecting between multiple predetermined alternative code word values for each information word value, the second alternative code word values include values having potentially mutually different effects on complying with the second constraint, and the selection depends on the effect of the selection on meeting the second constraint so that the sequence of code words complies with the second constraint.
 33. The method of claim 32, wherein: the transmitting includes producing a record carrier containing the sequence of code words.
 34. The method of claim 32, wherein: the second constraint on the sequence of code words is related to DC-control in the sequence of code words; for multiple information word values, in the conversion using the C2 conversion code, the alternative code word values include values having different beginning parts, and for code words that immediately follow a previous code word in the sequence of code words the selection of the C2 conversion code further depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; for each information word value there are y1 alternative code word values in conversion code C1, the y1 alternative code word values corresponding to respective y1 different criteria for the end part of an immediately preceding code word for complying with the runlength constraint for the code word sequence, and y1>1; for each information word value there are y2 groups of multiple alternative code word values in conversion code C2, the y2 groups corresponding to respective y2 different criteria for the end part of an immediately preceding code word for complying with the runlength constraint for the code word sequence, y2>1, each of the y2 groups including multiple alternative code word values having different effects on meeting the second constraint for selecting between the alternative code word values for complying with the second constraint; y1=y2; the y1 different end part criteria for conversion code C1 are the same as corresponding y2 different end part criteria for the conversion code C2; the runlength constraint of the sequence of code words includes a minimum runlength of d and a maximum runlength of k; d=2 and k=10; the runlength constraint further includes a Repeated-Minimum-Runlength-Limitation=6; n=8, m1=15, m2=17; the ratio between the number of m1-bit code words and the number of m2-bit code words depends on a chosen level of DC-control; the converting including establishing a coding state depending on the value of the immediately preceding code word in the sequence of code words, each of the C1 and C2 conversion codes including a set of code words corresponding to each respective state, each set of code words having one or more predetermined code words for each respective possible information word, the code word being selected from among the one or more predetermined code words for the information word in the set of code words for the established state and of the selected conversion code; The state also depending on the information word value, thereby allowing the n-bit information word to be determined depending on the coding state; and a limited number of code words are substituted for other code words or patterns, these other code words or patterns not belonging to the code words of conversion code C1 and conversion code C2.
 35. An encoding device comprising: an input that receives an information signal representing information words having n-bit values; means for converting the information words into code words, some of the code words having m1-bit values and other of the code words having m2-bit values, m1, m2 and n are integers and m2>m1>n; and an output that transmits a code signal representing a sequence of code words, subsequent code words of the sequence immediately following preceding code words; wherein: the converting of information words into the corresponding m1-bit code words is in accordance with a conversion code C1; the converting of information words into corresponding m2-bit code words is in accordance with a conversion code C2; the sequence of code words complies with a runlength constraint and with a second constraint that is at least partially independent of the runlength constraint; the converting includes selecting between conversion code C1 and conversion code C2 depending on a measure of the second constraint at times during the conversion; for code words that immediately follow a previous code word in the sequence of code words, for multiple information word values, the conversion using the C1 conversion code includes selecting between multiple predetermined alternative code word values for the same information word value, the alternative code word values have mutually different beginning parts, and the selection depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; the conversion of each information word using the C2 conversion code includes selecting between multiple predetermined alternative code word values for each information word value, the second alternative code word values include values having potentially mutually different effects on complying with the second constraint, and the selection depends on the effect of the selection on meeting the second constraint so that the sequence of code words complies with the second constraint.
 36. The encoding device of claim 33 further comprising a media recorder that records the code word signal on an information carrier.
 37. An information carrier comprising the code word signal of claim
 36. 38. The encoding device of claim 35, wherein: the second constraint on the sequence of code words is related to DC-control in the sequence of code words; for multiple information word values, in the conversion using the C2 conversion code, the alternative code word values include values having different beginning parts, and for code words that immediately follow a previous code word in the sequence of code words the selection of the C2 conversion code further depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; for each information word value there are y1 alternative code word values in conversion code C1, the y1 alternative code word values corresponding to respective y1 different criteria for the end part of an immediately preceding code word for complying with the runlength constraint for the code word sequence, and y1>1; for each information word value there are y2 groups of multiple alternative code word values in conversion code C2, the y2 groups corresponding to respective y2 different criteria for the end part of an immediately preceding code word for complying with the runlength constraint for the code word sequence, y2>1, each of the y2 groups including multiple alternative code word values having different effects on meeting the second constraint for selecting between the alternative code word values for complying with the second constraint; y1=y2; the y1 different end part criteria for conversion code C1 are the same as corresponding y2 different end part criteria for the conversion code C2; the runlength constraint of the sequence of code words includes a minimum runlength of d and a maximum runlength of k; d=2 and k=10; the runlength constraint further includes a Repeated-Minimum-Runlength-Limitation=6; n=8, m1=15, m2=17; the ratio between the number of m1-bit code words and the number of m2-bit code words depends on a chosen level of DC-control; the converting including establishing a coding state depending on the value of the immediately preceding code word in the sequence of code words, each of the C1 and C2 conversion codes including a set of conde words corresponding to each respective state, each set of code words having one or more predetermined code words for each respective possible information word, the code word being selected from among the one or more predetermined code words for the information word in the set of code words for the established state and of the selected conversion code; The state also depending on the information word value, thereby allowing the n-bit information word to be determined depending on the coding state; and a limited number of code words are substituted for other code words or patterns, these other code words or patterns not belonging to the code words of conversion, code C1 and conversion code C2.
 39. A decoding device comprising: an input that receives a code word signal that represents a sequence of code words, subsequent code words of the sequence immediately following preceding code words, some code words having m1-bit values and other code words having m2-bit values; means for determining whether a code word is an m1-bit code word or an m2-bit code word; means for converting the m1-bit and m2-bit code words into corresponding information words having n-bit values, the converting depending on the determination, wherein m1, m2 and n are integers, and m2>m1>n; and an output that transmits the sequence of information words; wherein: the converting of information words into the corresponding m1-bit code words is in accordance with a conversion code C1; the converting of information words into corresponding m2-bit code words is in accordance with a conversion code C2; the sequence of code words complies with a runlength constraint and with a second constraint that is at least partially independent of the runlength constraint; the converting includes selecting between conversion code C1 and conversion code C2 depending on a measure of the second constraint at times during the conversion; for subsequent code words, for multiple information word values, the conversion using the C1 conversion code includes selecting between multiple predetermined alternative code word values for the same information word value, the alternative code word values have mutually different beginning parts, and the selection depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; the conversion of each information word using the C2 conversion code includes selecting between multiple predetermined alternative code word values for each information word value, the second alternative code word values include values having potentially mutually different effects on complying with the second constraint, and the selection depends on the effect of the selection on meeting the second constraint so that the sequence of code words complies with the second constraint.
 40. The decoding device of claim 39 further comprising a media player for reading the sequence of code words from an information carrier.
 41. The decoding device of claim 39, wherein: the second constraint on the sequence of code words is related to DC-control in the sequence of code words; for multiple information word values, in the conversion using the C2 conversion code, the alternative code word values include values having different beginning parts, and for code words that immediately follow a previous code word in the sequence of code words the selection of the C2 conversion code further depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; for each information word value there are y1 alternative code word values in conversion code C1, the y1 alternative code word values corresponding to respective y1 different criteria for the end part of an immediately preceding code word for complying with the runlength constraint for the code word sequence, and y1>1; for each information word value there are y2 groups of multiple alternative code word values in conversion code C2, the y2 groups corresponding to respective y2 different criteria for the end part of an immediately preceding code word for complying with the runlength constraint for the code word sequence, y2>1, each of the y2 groups including multiple alternative code word values having different effects on meeting the second constraint for selecting between the alternative code word values for complying with the second constraint; y1=y2; the y1 different end part criteria for conversion code C1 are the same as corresponding y2 different end part criteria for the conversion code C2; the runlength constraint of the sequence of code words includes a minimum runlength of d and a maximum runlength of k; d=2 and k=10; the runlength constraint further includes a Repeated-Minimum-Runlength-Limitation=6; n=8, m1=15, m2=17; the ratio between the number of m1-bit code words and the number of m2-bit code words depends on a chosen level of DC-control; the converting including establishing a coding state depending on the value of the immediately preceding code word in the sequence of code words, each of the C1 and C2 conversion codes including a set of code words corresponding to each respective state, each set of code words having one or more predetermined code words for each respective possible information word, the code word being selected from among the one or more predetermined code words for the information word in the set of code words for the established state and of the selected conversion code; The state also depending on the information word value, thereby allowing the n-bit information word to be determined depending on the coding state; and a limited number of code words are substituted for other code words or patterns, these other code words or patterns not belonging to the code words of conversion code C1 and conversion code C2.
 42. A method comprising: receiving an information signal representing information words having n-bit values; selecting at times whether to convert the information words into code words having m1-bit values or other code words with m2-bit values; converting some information words into code words having m1-bit values and other information words into code words having m2 -bit values depending on the selecting, wherein m1, m2and n are integers, and m2>m1>n; forming a code signal representing the code words, the code signal complying with a first constraint that is at least partially independent of whether preceding code words are m1-bit or m2-bit code words, the selecting between m1-bit code words and m2-bit code words depending on a measure related to the constraint; and transmitting the code signal.
 43. The method of claim 42 wherein the transmitting includes recording the code signal on a record carrier.
 44. A record carrier produced by the method of claim
 43. 45. The method of claim 42 wherein the measure is at least partially independent of a constraint on the run lengths in the code signal.
 46. A signal produced by the method of claim
 42. 47. The method of claim 42 wherein: the converting includes selecting between code word values so that the code signal complies with a runlength constraint on the code signal, the runlength constraint being different than the first constraint; the code signal representing a sequence of code words in which subsequent code words immediately follow preceding code words; at least for subsequent code words in the series, for multiple information word values, the conversion into m1-bit code words includes selecting between multiple predetermined alternative code word values for the same information word value, the alternative code word values have mutually different beginning parts, and the selection depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; the conversion of information words into m2-bit code words includes selecting between multiple predetermined alternative code word values for each information word value, the alternative code word values include values having potentially mutually different effects on complying with the first constraint, and the selection depends on the effect of the selection on meeting the first constraint so that the sequence of code words complies with the first constraint; the first constraint on the sequence of code words is related to DC-control in the sequence of code words; for multiple information word values, in the conversion of information words into m2-bit code words, the alternative code word values include values having different beginning parts, and for code words that immediately follow a previous code word in the sequence of code words the selection of the m2-bit code word further depends on an end part of the immediately preceding code word so that the sequence of code words complies with the runlength constraint; for each information word value there are y1 alternative m1-bit code word values, the y1 alternative code word values corresponding to respective y1 different criteria for the end part of an immediately preceding code word for complying with the runlength constraint for the code word sequence, and y1>1; for each information word value there are y2 groups of multiple alternative m2-bit code word values, the y2 groups corresponding to respective y2 different criteria for the end part of an immediately preceding code word for complying with the runlength criteria for the code word sequence, y2>1, each of the y2 groups including multiple alternative m2-bit code word values having different effects on meeting the first criteria for selecting between the alternative code word values for complying with the first; y1=y2; the y1 different end part criteria for converting into m1-bit code words are the same as corresponding y2 different end part criteria for converting into m2-bit code words; the runlength constraint of the sequence of code words includes a minimum runlength of d and a maximum runlength of k; d=2 and k=10; the runlength constraint further includes a Repeated-Minimum-Runlength-Limitation=6; n=8, m1=15, m2=17; the ratio between the number of m1-bit code words and the number of m2-bit code words in the code signal depends on a chosen level of DC-control; the converting including establishing a coding state depending on the value of the immediately preceding code word in the sequence of code words, for both the converting into m1-bit and m2-bit code words, the code words are logically divisible into a different set of code words corresponding to each respective state, each set of code words having one or more predetermined code words for each respective possible information word; the code word being selected from among the one or more predetermined code words for the information word in the set of code words for the established state and of the selected conversion code; The state also depending on the information word value, thereby allowing the n-bit information word to be determined depending on the coding state; and a limited number of code words are substituted for other code words or patterns, these other code words or patterns not belonging to the code words used in the conversion into m1-bit words and the conversion into m2-bit code words.
 48. An encoding device comprising: an input that receives an information signal representing information words having n-bit values; means for selecting at times whether to convert the information words into code words having m1-bit values or other code words with m2-bit values; means for converting some information words into code words having m1-bit values and other information words into code words having m2-bit values depending on the selecting, wherein m1, m2 and n are integers, and m2>m1>n; means for forming a code signal representing the code words, the code signal complying with a first constraint that is at least partially independent of whether the preceding code words are m1-bit or m2-bit code words, the selecting between m1-bit code words and m2-bit code words depending on a measure related to the constraint; and an output that transmits the code signal.
 49. A decoding device comprising: an input that receives a code signal representing code words, some code words having m1-bits and other code words having m2-bits; means for determining whether a code word is an m1-bit code word or an m2-bit code word, the determination being at least partially independent of whether preceding code words are m1-bit code words or m2-bit code words; means for converting the m1-bit and m2-bit code words into corresponding n-bit information words depending on the determination, m1, m2 and n being integers and m2>m1>n; and an output that transmits a signal representing the information words. 